<div id="<%= @options[:scaffold_model] %>" class="dry-scaffold">
	<div class="dry-scaffold-header" >
	  <h2><%= @options[:scaffold_model].label.pluralize %></h2>
	  <div class="actions">
			<div class="create">
<%
#TODO 2006-07-12 Level=1 - Get rid of scaffold_id? can we?
			if display_allowed?(:create)
				if @options[:scaffold_model].is_crudable?(:creatable)
%>
					<%= start_form_tag @form_options, {:name => "#{@options[:scaffold_model]}_header"} %>
					<%= link_to_from_list(_("Create New"), :new, nil, @options) %>
					<%= end_form_tag %>
<%
				end
			end
%>
			</div>
		</div>
	</div>
<%#= debug @options %>
<%#= debug @one_row_options %>
		<% if @options[:scaffold_model].to_s == @one_row_options[:crud_model].to_s
				case @one_row_options[:crud_action] 
					when "new": 
						if @options[:scaffold_model].is_crudable?(:creatable)
%>
						<%= render(:partial => 'shared/new_edit') %>
		<%			
						end
				end
			end %>
	<table cellspacing="0" cellpadding="0">
